package com.xinxing.learning.crud.batch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinxing.learning.crud.batch.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    /**
     * 批量插入用户
     * @param userList
     */
    int batchInsertUser(@Param("list") List<User> userList);


}